//
//  Constants.h
//  Space shooting
//
//  Created by Raiden on 9/2/13.
//
//

#ifndef Space_shooting_Constants_h
#define Space_shooting_Constants_h

#define GameInstance        Game::getInstance()

#define BulletList          Game::getInstance()->bulletList
#define EnemyList           Game::getInstance()->enemyList
#define OrbList           Game::getInstance()->orbList

#define MainScene           Game::getInstance()->mainScene

#define GameStatus          Game::getInstance()->gameStatus

#define ENEMY_TAG               0
#define BULLET_TAG              1

#define GAME_STATUS_NORMAL      -100
#define GAME_STATUS_LOSE        100

const int GAME_STATE_SPLASH     = 1;
const int GAME_STATE_LOADING    = 2;
const int GAME_STATE_HOME       = 3;
const int GAME_STATE_GAME       = 4;
const int GAME_STATE_IGM        = 5;
const int GAME_STATE_TUT        = 6;
const int GAME_STATE_SETTING    = 7;

const int HOME_MENU_EXIT        = 1;
const int HOME_MENU_PLAY        = 2;
const int HOME_MENU_TUT         = 3;
const int HOME_MENU_SETTING     = 4;
const int HOME_MENU_ABOUT       = 5;

const int SETTING_MENU_SOUND    = 1;
const int SETTING_MENU_VIBRATE  = 2;
const int SETTING_MENU_AUTOFIRE = 3;
const int SETTING_MENU_EXIT     = 4;

#define SOUND_SETTING_KEY       "SOUND_SETTING_KEY"
#define VIBRATE_SETTING_KEY     "VIBRATE_SETTING_KEY"
#define AUTOFIRE_SETTING_KEY    "AUTOFIRE_SETTING_KEY"


#endif
